﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WooCoo.DataPortal.Server;
using WooCoo.IoC;
using WooCoo.Reflection;

namespace WooCoo.DataPortal.Client
{
    public class LocalProxy : IDataPortalProxy
    {
        private IDataPortalServer _portal =
          new Server.SimplePortal();

        public bool IsServerRemote
        {
            get { return false; }
        }


        public Uri BaseAddress
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        public DataPortalResult Create(Type objectType,object criteria)
        {
            throw new NotImplementedException();
        }

        public DataPortalResult Fetch<T>(object criteria)
        {
            throw new NotImplementedException();
        }

        public DataPortalResult Insert(object obj)
        {
            throw new NotImplementedException();
        }

        public DataPortalResult Update(object obj)
        {
            throw new NotImplementedException();
        }

        public DataPortalResult Delete(object obj)
        {
            throw new NotImplementedException();
        }

        public DataPortalResult Execute(ActionInfo requestMethod)
        {
            throw new NotImplementedException();
        }

        public QueryComponents Translate(System.Linq.Expressions.Expression e)
        {
            throw new NotImplementedException();
        }


        public DataPortalResult Create<T>(object obj)
        {
            throw new NotImplementedException();
        }

        public DataPortalResult Update<T>(object obj)
        {
            throw new NotImplementedException();
        }

        public DataPortalResult Delete<T>(object obj)
        {
            throw new NotImplementedException();
        }

        public T DeserializeObject<T>(DataPortalResult result)
        {
            throw new NotImplementedException();
        }
    }
}
